package com.common.mybatis.plugins.pagination.dialect;

/**
 * <p>
 * HSQL 数据库分页语句组装实现
 * </p>
 */
public class HSQLDialect implements PageDialect {

  public String buildPaginationSql(String originalSql, int offset, int limit) {
    StringBuilder sql = new StringBuilder(originalSql);
    sql.append(" limit ").append(offset).append(",").append(limit);
    return sql.toString();
  }

}
